import request from '@/api/request'
export function medicalHistoryInfo(data) {
  return request({
    url: '/emrweb/medicalHistory/queryInfo',
    method: 'post',
    data,
  })
}

export function save(data) {
  return request({
    url: '/emrweb/medicalHistory/save',
    method: 'post',
    data,
  })
}

/**
 * 返回打印病历需要的值
 */
export function loadEmrPrintData(params) {
  return request({
    url: '/emrweb/medicalRecord/print',
    method: 'get',
    params,
  })
}
